package com.paho.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @Author wdy
 * @Date 2023/9/19
 **/
@ConfigurationProperties(prefix = "mqtt.paho")
@Data
public class PahoProperties {

    private String broker;

    private String username;

    private String password;

    private String clientid;

    /**
     *  QOS,1-
     */
    private Integer qos;

    /**
     * 是否保留
     */
    private Integer retain;
}
